using SmartLink.Domain.Entity;
using SmartLink.DTOS.Permission;
using SmartLink.EnumLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartLink.IRepository
{
    public interface IPER_ActionAuthorizationRepo
    {
        void Allot(AuthorizationOwnerTypeEnum ownerType, int ownerId, IEnumerable<int> moduleIds, IEnumerable<int> functionIds = null);
        void Allot(AuthorizationOwnerTypeEnum ownerType, int ownerId, IEnumerable<int> moduleIds, IEnumerable<int> functionIds, Dictionary<string, IEnumerable<DataAuthorizationItemDTO>> dataAuthorizations);
    }
}
